package com.mystore.service;

import com.mystore.entity.Order;
import com.mystore.vo.OrderVO;

import java.sql.SQLException;
import java.util.List;

public interface OrderService {

    List<OrderVO> findMyOrder(int uid);

    Boolean addOrder(Order order) throws SQLException;

    Boolean updateOrder(Order order) throws SQLException;

    OrderVO findOneOrderByOidAndUid(int oid,int uid);
}
